export const testMenu = [
	{
		path: "/dashboard",
		component: "home/index",
		meta: {
			title: "首页",
			icon: "redis",
			noCache: false,
			link: null,
			hidden: false,
		},
	},
	{
		name: "Wms",
		path: "/wms",
		redirect: "noRedirect",
		alwaysShow: true,
		meta: {
			title: "出入库",
			icon: "redis",
			noCache: false,
			link: null,
			hidden: false,
		},
		children: [
			{
				name: "ReceiptOrder",
				path: "receiptOrder",

				component: "wms/receiptOrder/index",
				meta: {
					title: "入库",
					noCache: false,
					link: null,
					hidden: false,
				},
			},
			{
				name: "Wave",
				path: "wave",

				component: "wms/wave/index",
				meta: {
					title: "波次",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "ReceiptOrder/edit",
				path: "receiptOrder/edit",
				component: "wms/receiptOrder/edit",
				meta: {
					title: "编辑入库单",
					noCache: false,
					link: null,
					hidden: true,
				},
			},
			{
				name: "Wave/status",
				path: "wave/status",

				component: "wms/wave/status",
				meta: {
					title: "波次作业",
					icon: "checkbox",
					noCache: false,
					hidden: true,
					link: null,
				},
			},
			{
				name: "ReceiptOrder/status",
				path: "receiptOrder/status",
				component: "wms/receiptOrder/status",
				meta: {
					title: "发货/入库",
					noCache: false,
					link: null,
					hidden: true,
				},
			},
			{
				name: "ShipmentOrder/edit",
				path: "shipmentOrder/edit",

				component: "wms/shipmentOrder/edit",
				meta: {
					title: "编辑出库单",
					noCache: false,
					hidden: true,
					link: null,
				},
			},
			{
				name: "ShipmentOrder",
				path: "shipmentOrder",

				component: "wms/shipmentOrder/index",
				meta: {
					title: "出库",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
			{
				name: "ShipmentOrder/status",
				path: "shipmentOrder/status",

				component: "wms/shipmentOrder/status",
				meta: {
					title: "发货/出库",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "InventoryMovement/edit",
				path: "inventoryMovement/edit",
				component: "wms/inventoryMovement/edit",
				meta: {
					title: "编辑移库",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "InventoryMovement/status",
				path: "inventoryMovement/status",
				component: "wms/inventoryMovement/status",
				meta: {
					title: "移库操作",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "InventoryMovement",
				path: "inventoryMovement",
				component: "wms/inventoryMovement/index",
				meta: {
					title: "移库",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
			{
				name: "ReceiptOrderDetail",
				path: "receiptOrderDetail",
				component: "wms/receiptOrderDetail/index",
				meta: {
					title: "入库单详情",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "ShipmentOrderDetail",
				path: "shipmentOrderDetail",
				component: "wms/shipmentOrderDetail/index",
				meta: {
					title: "出库单详情",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "InventoryMovementDetail",
				path: "inventoryMovementDetail",
				component: "wms/inventoryMovementDetail/index",
				meta: {
					title: "库存移动详情",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
		],
	},

	{
		name: "Item",
		path: "/item",
		redirect: "noRedirect",
		component: "Layout",
		alwaysShow: true,
		meta: {
			title: "物料",
			icon: "shopping",
			noCache: false,
			link: null,
			hidden: false,
		},
		children: [
			{
				name: "ItemType",
				path: "itemType",

				component: "wms/itemType/index",
				meta: {
					title: "分类管理",
					icon: "dict",
					noCache: false,
					link: null,
					hidden: false,
				},
			},
			{
				name: "Item",
				path: "item",

				component: "wms/item/index",
				meta: {
					title: "物料管理",
					icon: "dict",
					noCache: false,
					link: null,
					hidden: false,
				},
			},
		],
	},
	{
		name: "Basic",
		path: "/basic",

		redirect: "noRedirect",
		component: "Layout",
		alwaysShow: true,
		meta: {
			title: "仓库/库区/货架",
			icon: "component",
			noCache: false,
			link: null,
			hidden: true,
		},
		children: [
			{
				name: "Area",
				path: "area",

				component: "wms/area/index",
				meta: {
					title: "库区",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
			{
				name: "Rack",
				path: "rack",

				component: "wms/rack/index",
				meta: {
					title: "货架",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
		],
	},
	{
		name: "/check",
		path: "//check",

		redirect: "noRedirect",
		component: "Layout",
		alwaysShow: true,
		meta: {
			title: "盘库",
			icon: "checkbox",
			noCache: false,
			link: null,
			hidden: true,
		},
		children: [
			{
				name: "Edit",
				path: "edit",

				component: "wms/inventoryCheck/edit",
				meta: {
					title: "编辑盘点单",
					icon: "checkbox",
					noCache: false,
					link: null,
					hidden: true,
				},
			},
			{
				name: "Status",
				path: "status",

				component: "wms/inventoryCheck/status",
				meta: {
					title: "查看盘点单",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "InventoryCheckDetail",
				path: "inventoryCheckDetail",

				component: "wms/inventoryCheckDetail/ind",
				meta: {
					title: "盘点单据详情",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
		],
	},
	{
		name: "Relation",
		path: "/relation",

		redirect: "noRedirect",
		component: "Layout",
		alwaysShow: true,
		meta: {
			title: "客户/供应商/承运商",
			icon: "peoples",
			noCache: false,
			link: null,
			hidden: false,
		},
		children: [
			{
				name: "SupplierTransaction",
				path: "supplierTransaction",

				component: "wms/supplierTransaction/index",
				meta: {
					title: "供应商账户流水",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "CustomerTransaction",
				path: "customerTransaction",

				component: "wms/customerTransaction/index",
				meta: {
					title: "客户账户流水",
					hidden: true,
					noCache: false,
					link: null,
				},
			},
			{
				name: "Supplier",
				path: "supplier",

				component: "wms/supplier/index",
				meta: {
					title: "供应商",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
			{
				name: "Customer",
				path: "customer",

				component: "wms/customer/index",
				meta: {
					title: "客户",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
			{
				name: "Carrier",
				path: "carrier",

				component: "wms/carrier/index",
				meta: {
					title: "承运商",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
		],
	},
	{
		name: "Report",
		path: "/report",

		redirect: "noRedirect",
		component: "Layout",
		alwaysShow: true,
		meta: {
			title: "库存记录",
			icon: "monitor",
			noCache: false,
			link: null,
			hidden: false,
		},
		children: [
			{
				name: "InventoryHistory",
				path: "inventoryHistory",

				component: "wms/inventoryHistory/index",
				meta: {
					title: "出入记录",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
			{
				name: "Delivery",
				path: "delivery",

				component: "wms/delivery/index",
				meta: {
					title: "发货记录",
					hidden: false,
					noCache: false,
					link: null,
				},
			},
		],
	},
	{
		name: "Setting",
		path: "/setting",
		redirect: "noRedirect",
		alwaysShow: true,
		meta: {
			title: "系统",
			icon: "redis",
			noCache: false,
			link: null,
			hidden: false,
		},
		children: [
			{
				name: "user",
				menuId: 228,
				path: "/setting/user",
				component: "setting/user",
				meta: {
					title: "用户管理",
					icon: "el-icon-user-filled",
					noCache: false,
					hidden: false,
					menuType: 1,
					sort: 0,
				},
				children: [],
			},
		],
	},
];
